<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>粉丝列表</title>
</head>
<%@ include file="common/head.jspf" %>
<script type="text/javascript">
	
	$(function(){
		
	
	});
	
	/*
	* 获取粉丝列表
	*/
/**	function getFans(){
		var fansList = "${fansList}";
		if(fansList){
			$.post("fans_query.action",{},function(data){
				
			},"text");
		}	
	}
*/	
</script>
<body>
	<table border="1" cellpadding="6" cellspacing="0">
		<thead  style="background: #D8CFCF;">
			<th>粉丝名称</th>
			<th colspan="3">操作</th>
		</thead>
		<tbody>
			<c:forEach items="${audienceList}" var="audience">
					<tr>
						<td>${audience.nickname }</td>
						<td><a href="audience/getDetailed.do?openid=${audience.openid }">查看详情</a></td>
						<td><a href="audience/toSendMessage.do?openid=${audience.openid }">发送消息</a></td>

						<td><a href="templateMessage/getAllPrivateTemplate.do?openid=${audience.openid }">测试模板消息</a></td>
					</tr>
			</c:forEach>	
		</tbody>
	</table>
	
	<a href="debug/sendMessage.do?text=this is test">群发文本消息</a>
	

	<!-- 
		<a href="WeiXinSerlvet.do">测试范围</a> 
	 -->
	 
	<a href="https://open.weixin.qq.com/connect/oauth2/authorize?appid=wx3be98c5c327168ba&redirect_uri=http://159sp15185.51mypc.cn/eaxmmvc/jump/autho/autho.do&response_type=code&scope=snsapi_base&state=STATE|oooo#wechat_redirect">静默授权</a>
	<br/><br/>
	<a href="https://open.weixin.qq.com/connect/oauth2/authorize?appid=wx3be98c5c327168ba&redirect_uri=http://159sp15185.51mypc.cn/eaxmmvc/jump/autho/autho.do&response_type=code&scope=snsapi_userinfo&state=STATE1234#wechat_redirect">手动授权</a>
	
</body>
</html>